package ar.com.guess.image.utils;

import ar.com.guess.image.enums.Constant;
import ar.com.guess.image.enums.LanguagePlay;
import ar.com.guess.image.enums.Level;

public class MovieBuilder extends ImageBuilder{
	
	@Override
	protected String transformerResource(Level level, LanguagePlay lang){
		String resource = Constant.MOVIE_RESOURCE.getValue();
		String resourceWithLang = resource.replace(Constant.IMAGE_IDEN_LG.getValue(), lang.getLang());
		String resourceWithLangAndLevel = resourceWithLang.replace(Constant.IMAGE_IDEN_LV.getValue(), level.getNum());
		return resourceWithLangAndLevel;
	}
}
